package com.android.equipment.bean

import com.android.equipment.dao.ConfigModel

data class WorkDetailBean(
    var deviceId: Long,
    var deviceCode: String,
    var deviceChangeTime: String,
    var alarmData: List<ConfigModel>,
    var peopleId: Long,
    var peopleName: String,
    var peoplePhone: String,
    var peopleCondition: Int = 1, // 0:未知 1:正常 2:异常
)

data class WorkDetailPeopleData(
    var peopleId: Long,
    var peopleName: String,
    var peoplePhone: String,
    var peoplePhoto: String,
    var isExit: Boolean = false,
)

data class WorkDetailDeviceData(
    var deviceId: Long,
    var deviceName: String,
    var deviceCode: String,
    var deviceModelId: Long,
    var deviceChangeTime: String = "0000-00-00 00:00:00",
    var alarmData: List<ConfigModel>? =null,
    var isExit: Boolean = false,
    var isSelect: Boolean = false
)